import Express from 'express'
import { MovieControll } from '../controllers/movieController'
const Router = Express.Router()

Router.post('/add', MovieControll.add)
Router.delete('/del/:id', MovieControll.del)
Router.delete('/deleteName', MovieControll.delName)
Router.put('/update', MovieControll.update)
Router.get('/find/:id', MovieControll.find)
Router.get('/query', MovieControll.query)

export default Router
